package com.example.demo.service;

import com.example.demo.entity.Notice;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface NoticeService {
    public int insertnotice(Notice notice);
    List<Notice> selectAll();
    Notice selectid(int id);
    int updateid(Notice notice);
    public int deleteid(int id);

    void importExcel(MultipartFile myfile) throws Exception;

    void exportExcel(HttpServletResponse response) throws Exception;
}
